package com.uls.zsw.domain;

import java.util.List;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.uls.czj.domain.CzjStudents;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.uls.common.annotation.Excel;
import com.uls.common.core.domain.BaseEntity;

/**
 * 宿舍信息对象 zsw_dormitory_info
 * 
 * @author zsw
 * @date 2024-11-07
 */
public class DormitoryInfo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键id */
    private Long dormitoryId;

    /** 房间号 */
    @Excel(name = "房间号")
    private String dormitoryNumber;

    /** 学生编号 */
    @Excel(name = "学生编号")
    private Long studentId;

    /** 宿管编号 */
    @Excel(name = "宿管编号")
    private Long dormitoryManagerId;

    /** 宿舍类型 */
    @Excel(name = "宿舍类型")
    private String dormitoryType;

    /** 宿舍状态 */
    @Excel(name = "宿舍状态")
    private String dormitoryStatus;

    /** 宿舍容量 */
    @Excel(name = "宿舍容量")
    private Integer dormitoryMax;

    /** 在住人数 */
    @Excel(name = "在住人数")
    private Integer correntPeople;

    /** 修改时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "修改时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date updateTime;

    /** 删除人 */
    @Excel(name = "删除人")
    private String deleteBy;

    /** 删除时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "删除时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date deleteTime;

    /** 删除标记 */
    @Excel(name = "删除标记")
    private Integer deleteFlag;

    /** 学生信息信息 */
    private List<StudentVo> czjStudentsList;


    public void setDormitoryId(Long dormitoryId) 
    {
        this.dormitoryId = dormitoryId;
    }

    public Long getDormitoryId() 
    {
        return dormitoryId;
    }
    public void setDormitoryNumber(String dormitoryNumber)
    {
        this.dormitoryNumber = dormitoryNumber;
    }

    public String getDormitoryNumber()
    {
        return dormitoryNumber;
    }
    public void setStudentId(Long studentId) 
    {
        this.studentId = studentId;
    }

    public Long getStudentId() 
    {
        return studentId;
    }
    public void setDormitoryManagerId(Long dormitoryManagerId) 
    {
        this.dormitoryManagerId = dormitoryManagerId;
    }

    public Long getDormitoryManagerId() 
    {
        return dormitoryManagerId;
    }
    public void setDormitoryType(String dormitoryType) 
    {
        this.dormitoryType = dormitoryType;
    }

    public String getDormitoryType() 
    {
        return dormitoryType;
    }
    public void setDormitoryStatus(String dormitoryStatus) 
    {
        this.dormitoryStatus = dormitoryStatus;
    }

    public String getDormitoryStatus() 
    {
        return dormitoryStatus;
    }
    public void setDormitoryMax(Integer dormitoryMax) 
    {
        this.dormitoryMax = dormitoryMax;
    }

    public Integer getDormitoryMax() 
    {
        return dormitoryMax;
    }
    public void setCorrentPeople(Integer correntPeople) 
    {
        this.correntPeople = correntPeople;
    }

    public Integer getCorrentPeople() 
    {
        return correntPeople;
    }
    public void setUpdateTime(Date updateTime)
    {
        this.updateTime = updateTime;
    }

    public Date getUpdateTime()
    {
        return updateTime;
    }
    public void setDeleteBy(String deleteBy) 
    {
        this.deleteBy = deleteBy;
    }

    public String getDeleteBy() 
    {
        return deleteBy;
    }
    public void setDeleteTime(Date deleteTime) 
    {
        this.deleteTime = deleteTime;
    }

    public Date getDeleteTime() 
    {
        return deleteTime;
    }
    public void setDeleteFlag(Integer deleteFlag) 
    {
        this.deleteFlag = deleteFlag;
    }

    public Integer getDeleteFlag() 
    {
        return deleteFlag;
    }

    /*public List<CzjStudents> getCzjStudentsList()
    {
        return czjStudentsList;
    }

    public void setCzjStudentsList(List<CzjStudents> czjStudentsList)
    {
        this.czjStudentsList = czjStudentsList;
    }*/

    public List<StudentVo> getCzjStudentsList() {
        return czjStudentsList;
    }

    public void setCzjStudentsList(List<StudentVo> czjStudentsList) {
        this.czjStudentsList = czjStudentsList;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("dormitoryId", getDormitoryId())
            .append("dormitoryNumber", getDormitoryNumber())
            .append("studentId", getStudentId())
            .append("dormitoryManagerId", getDormitoryManagerId())
            .append("dormitoryType", getDormitoryType())
            .append("dormitoryStatus", getDormitoryStatus())
            .append("dormitoryMax", getDormitoryMax())
            .append("correntPeople", getCorrentPeople())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("deleteBy", getDeleteBy())
            .append("deleteTime", getDeleteTime())
            .append("deleteFlag", getDeleteFlag())
            .append("czjStudentsList", getCzjStudentsList())
            .toString();
    }
}
